package org.sjs.dreamfly.app

import androidx.lifecycle.ViewModel
import org.sjs.dreamfly.R

class MainViewModel : ViewModel() {
    companion object {
        const val TAB_MOVIE = "影视"
        const val TAB_SHORT_VIDEO = "短视频"
        const val TAB_STORY = "小说"
        const val TAB_SHOP = "购物"
        const val TAB_NEWS = "资讯"
        const val TAB_PERSONAL = "个人中心"
    }

    private val tabMap = linkedMapOf(
        TAB_MOVIE to Pair(R.mipmap.icon_movie, R.mipmap.icon_movie_gray),
        TAB_NEWS to Pair(R.mipmap.icon_personal, R.mipmap.icon_personal_gray),
        TAB_SHORT_VIDEO to Pair(R.mipmap.icon_short_video, R.mipmap.icon_short_video_gray),
        TAB_STORY to Pair(R.mipmap.icon_story, R.mipmap.icon_story_gray),
        TAB_SHOP to Pair(R.mipmap.icon_shop, R.mipmap.icon_shop_gray),
    )

    fun getTabList(): LinkedHashMap<String, Pair<Int, Int>> {
        return tabMap
    }


}